This is updated sample code which shows how to obtain a list of available printers and select one programmatically or interactively as the default printer. This code is an update to an earlier post which allows a printer to be connected to multiple connections. This code is Freeware, hopefully some people will find it useful.